home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
S-Sh
/
SCB 4.0.cpt
/
Script Cat Burglar 4.0
/
card_5223.txt
< prev
next >
Wrap
Text File
|
1988-03-21
|
2KB
|
69 lines
-- card: 5223 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 2227
-- name: Lock/Unlock Fields
-- part contents for background part 15
----- text -----
This stack was designed by Philip A. Mohr, Jr. 4405 N. Rosemead Rosemead, CA 91770
-- part contents for background part 2
----- text -----
Lock/Unlock Fields
-- part contents for background part 3
----- text -----
Home Stack
-- part contents for background part 13
----- text -----
Card/Stack
-- part contents for background part 58
----- text -----
on mouseUp
if the optionKey is down then
get the name of the target
if it contains "field" then
if lockText of it then set the lockText of it to false
end if
else if the commandKey is down then
get the name of the target
if it contains "field" then
if lockText of it is false then
hide msg
set the lockText of it to true
end if
end if
else
pass mouseUp
exit mouseUp
end if
end mouseUp
-- part contents for background part 14
----- text -----
From a Jerry Daniels column in "Macazine"
Holding down the Command key and clicking in an unlocked field locks it.
Holding down the Option key and clicking in a locked field unlocks it.
Restrictions:
The field can't have a go-away script.
The userLevel has to be set to "Scripting"
-- part contents for background part 67
----- text -----
Hide Notes
-- part contents for background part 68
----- text -----
5223
-- part contents for background part 73
----- text -----
Before I can do that, you need to give the script a name. Sorry. Try again.